{+include file='headers.html'+}
<script type="text/javascript" src="../js/jquery-ui.js"></script>
<script type="text/javascript" src="../js/jquery.ui.datepicker-zh-CN.js"></script>
<link rel="stylesheet" type="text/css" href="../css/default/jquery-ui.css" />
<link href="../css/default/{+$fenlei+}.css" rel="stylesheet" type="text/css">
<style type="text/css">
.list td.he{color:blue !important;}
.list td.g1{color:red !important}
.list td.g2{color:black;}
.list td.g3{color:blue !important}
</style>
</head>
<body class='{+$skin+}' style="background:#fff">
<script id=myjs language="javascript">var js=1;var sss='longs';</script>
<select id="game" name="game">
{+section name=i loop=$game+}
<option value="{+$game[i].gid+}" {+if ($game[i].gid==$gid)+}selected{+/if+}>{+$game[i].gname+}</option>
{+/section+}

</select>
{+if $fenlei!=100+}
日期：<input id="date" value="{+$thisday+}" />
{+/if+}
<div id="drawTable" class="contents">
<table class="list table_ball table">
<thead><tr><th>期数</th><th>开奖时间</th>
    {+if $fenlei==163+}
    <th>百</th><th>十</th><th>个</th>
    {+elseif $fenlei==101+}
    <th>万</th><th>千</th><th>百</th><th>十</th><th>个</th>
    {+else+}
    <th colspan="{+$mnums+}">开出号码</th>
    {+/if+}
    {+if $fenlei==107+}
    <th colspan="3" class="strong">冠亚军和</th><th colspan="5" class="strong">1～5 龙虎</th></tr>
    {+elseif $fenlei==101+}
    <th colspan="3" class="strong">总和</th><th>龙虎</th><th>前三</th><th>中三</th><th>后三</th></tr>
    {+elseif $fenlei==163+}
    <th colspan="3" class="strong">总和</th><th>前三</th></tr>
    {+elseif $fenlei==103+}
    <th colspan="4" class="strong">总和</th><th>龙虎</th></tr>
    {+elseif $fenlei==121+}
    <th colspan="4" class="strong">总和</th><th>龙虎</th></tr>
    {+elseif $fenlei==161+}  
    <th colspan="4" class="strong">总和</th><th colspan="2" class="strong">比数量</th></tr> 
    {+elseif $fenlei==151+}    
    <th colspan="2" class="strong">总和</th>
    {+elseif $fenlei==100+}
    <th colspan="3" class="strong">总和</th><th colspan="6" class="strong">特码</th></tr>
    {+/if+}
</thead>
<tbody>
{+section name=i loop=$list+}
<tr>
<td class="period">{+$list[i].qishu+}</td>
<td class="drawTime">{+$list[i].time+}</td>
{+foreach item=k from=$list[i].ma+}
<td class="name ballname">{+if $k!=''+}<span class="b{+$k+}">{+$k+}</span>{+/if+}</td>
{+/foreach+}
{+foreach item=n from=$list[i].m+}
 <td class="other
   {+if ($n=='和')+} 
     he
   {+elseif ($n=="大"  | $n=="合单" | $n=="尾大"  | $n=="家"   | $n=="单(多)" | $n=="前(多)" | $n=="龙"  | $n=="单")+}
     g1
     {+elseif ($n=="小"  | $n=="合双" | $n=="尾小"  | $n=="野"   | $n=="双(多)" | $n=="后(多)"  | $n=="虎"  | $n=="双")+}
     g2
     {+elseif ( $n=="单双(和)" |  $n=="前后(和)")+}
     g3
   {+/if+}">{+$n+}</td>
{+/foreach+}
</tr>
{+/section+}
</tbody></table>
</div>
</div>
</body>
</html>